/* 
 *  This file is part of hmvcBlog-dashboard.
 *
 *  hmvcBlog-dashboard is free software: you can redistribute it and/or modify
 *  it under the terms of the GNU Affero General Public License as published by
 *  the Free Software Foundation, either version 3 of the License, or
 *  (at your option) any later version.
 *
 *  hmvcBlog-dashboard is distributed in the hope that it will be useful,
 *  but WITHOUT ANY WARRANTY; without even the implied warranty of
 *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 *  GNU Affero General Public License for more details.
 *
 *  You should have received a copy of the GNU Affero General Public License
 *  along with hmvcBlog-dashboard.  If not, see <http://www.gnu.org/licenses/>.
 *
 */
package com.googlecode.hmvc4gwt.example.hmvcblog.frontend.dashboard.client.addblogentry;

import com.google.gwt.user.client.ui.Button;
import com.google.gwt.user.client.ui.Grid;
import com.google.gwt.user.client.ui.HorizontalPanel;
import com.google.gwt.user.client.ui.Label;
import com.google.gwt.user.client.ui.TextArea;
import com.google.gwt.user.client.ui.TextBox;
import com.google.gwt.user.client.ui.Widget;
import com.googlecode.hmvc4gwt.client.view.AViewGwt;

/**
 * 
 *
 * @author jens.meiss
 */
public class AddBlogEntryView extends AViewGwt {
	
	private Grid gridContainer;
	
	private Label labelTitle;
	
	private Label labelText;
	
	private TextBox textBoxTitle;
	
	private TextArea textAreaText;
	
	private Button buttonAddEntry;
	
	private Button buttonCancel;
	
	private HorizontalPanel horizontalPanelButtons;

	public Button getButtonAddEntry() {
		return buttonAddEntry;
	}

	public Button getButtonCancel() {
		return buttonCancel;
	}

	public Grid getGridContainer() {
		return gridContainer;
	}

	public HorizontalPanel getHorizontalPanelButtons() {
		return horizontalPanelButtons;
	}

	public Label getLabelText() {
		return labelText;
	}

	public Label getLabelTitle() {
		return labelTitle;
	}

	public TextArea getTextAreaText() {
		return textAreaText;
	}

	public TextBox getTextBoxTitle() {
		return textBoxTitle;
	}

	public Widget getWidget() {
		return getGridContainer();
	}

	public void setButtonAddEntry(Button buttonAddEntry) {
		this.buttonAddEntry = buttonAddEntry;
	}

	public void setButtonCancel(Button buttonCancel) {
		this.buttonCancel = buttonCancel;
	}

	public void setGridContainer(Grid gridContainer) {
		this.gridContainer = gridContainer;
	}

	public void setHorizontalPanelButtons(HorizontalPanel horizontalPanelButtons) {
		this.horizontalPanelButtons = horizontalPanelButtons;
	}

	public void setLabelText(Label labelText) {
		this.labelText = labelText;
	}

	public void setLabelTitle(Label labelTitle) {
		this.labelTitle = labelTitle;
	}

	public void setTextAreaText(TextArea textAreaText) {
		this.textAreaText = textAreaText;
	}

	public void setTextBoxTitle(TextBox textBoxTitle) {
		this.textBoxTitle = textBoxTitle;
	}

}
